package com.ddedu.entity;

public class Question {
    private int id;
    private String uno;
    private String question;
    private String answer;
    private String qtype;
    private Integer flag;
    private Integer star;
    private Integer pageView;

    public Question() {
    }

    public Question(int id, String uno, String question, String answer, String qtype, Integer flag, Integer star, Integer pageView) {
        this.id = id;
        this.uno = uno;
        this.question = question;
        this.answer = answer;
        this.qtype = qtype;
        this.flag = flag;
        this.star = star;
        this.pageView = pageView;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUno() {
        return uno;
    }

    public void setUno(String uno) {
        this.uno = uno;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getQtype() {
        return qtype;
    }

    public void setQtype(String qtype) {
        this.qtype = qtype;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Integer getStar() {
        return star;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    public Integer getPageView() {
        return pageView;
    }

    public void setPageView(Integer pageView) {
        this.pageView = pageView;
    }

    @Override
    public String toString() {
        return "Question{" +
                "id=" + id +
                ", uno='" + uno + '\'' +
                ", question='" + question + '\'' +
                ", answer='" + answer + '\'' +
                ", qtype='" + qtype + '\'' +
                ", flag=" + flag +
                ", star=" + star +
                ", pageView=" + pageView +
                '}';
    }
}

